Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MAD-X equivalent short RF model #412

Merged
merged 18 commits into from
Aug 9, 2023

Conversation

cemitch99
Copy link
Member

@cemitch99 cemitch99 commented Aug 7, 2023

Rename the element ShortRF -> Buncher. (This is a linear element at zero-crossing used only for longitudinal bunching.)

Add a MAD-X equivalent short RF model called "ShortRF". This element allows for a phase-dependent nonzero longitudinal kick resulting in energy gain.

  • Add element and particle push.
  • Add reference particle push.
  • Add example.
  • Update docs.

cemitch99 and others added 3 commits August 4, 2023 13:35
- Modified the initial beam size in the IOTA lens benchmark example.
- Added 2 benchmarks of 3D space charge for initial testing.
- Add documentation for 2 benchmarks with space charge.
- Add a benchmark example with space charge and periodic s-dependent focusing.
- Added an s-dependent example using a Kurth beam without space charge.
- Modified tolerance for IOTA lens benchmark example.
  Reduced tolerance to account for smaller initial beam size and
  improved preservation of invariants of motion.
- Modified tolerances of space charge examples to allow CI tests to
  pass when space charge is not active.

- Modified tolerance for space charge examples.
  These should fail unless space charge is turned on.
Selected numerical values for amr.n_cell, lattice.nslice, and geometry.prob_relative.
@cemitch99 cemitch99 requested a review from ax3l August 7, 2023 19:23
@ax3l ax3l self-assigned this Aug 8, 2023
@ax3l ax3l added the component: elements Elements/external fields label Aug 8, 2023
@ax3l ax3l requested a review from qianglbl August 8, 2023 18:14
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! :)

@ax3l ax3l enabled auto-merge (squash) August 9, 2023 06:11
@ax3l ax3l merged commit d706a25 into ECP-WarpX:development Aug 9, 2023
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: elements Elements/external fields
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants